package com.alks.function.controller.system;

import com.alks.common.aop.ApiRestController;
import com.alks.common.aop.WebLogger;
import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.service.system.IPosPrgService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author MS
 * @since 2025/2/17上午10:55
 */
@RestController
@ApiRestController("/PosPrg")
@Api(value = "系统管理", tags = "程序授权")
@Slf4j
public class PosPrgController {
    @Autowired
    private IPosPrgService service;

    @WebLogger
    @PostMapping("/author/add")
    @ApiOperation(value = "新增授权", tags = "程序授权")
    public ResponseInfo authorAdd() {

        return ResponseInfo.ok();
    }

    @WebLogger
    @PostMapping("/author/del")
    @ApiOperation(value = "删除授权", tags = "")
    public ResponseInfo authorDel() {

        return ResponseInfo.ok();
    }

}